package com.hap.bank.service.impl;

import com.hand.hap.system.service.impl.BaseServiceImpl;
import com.hap.bank.mapper.HandEmployeeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hap.bank.dto.HandEmployee;
import com.hap.bank.service.IHandEmployeeService;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = Exception.class)
public class HandEmployeeServiceImpl extends BaseServiceImpl<HandEmployee> implements IHandEmployeeService{
    @Autowired
    HandEmployeeMapper handEmployeeMapper;

    @Override
    public Long selectIdByName(String name) {
        return handEmployeeMapper.selectIdByName(name);
    }
}